#!/bin/bash
# StoryAgent 环境变量设置脚本
# 使用方法: source setup_env.sh 或 . setup_env.sh
echo "正在设置 StoryAgent 环境变量..."
# 阿里云 API 密钥
# 长文本语音合成服务
export ALIYUN_APP_KEY=
# 阿里云访问密钥
export ALIYUN_ACCESS_KEY_ID=
export ALIYUN_ACCESS_KEY_SECRET=
# DashScope API 密钥 (通义千问)
export DASHSCOPE_API_KEY=
echo "✅ 环境变量设置完成！"
echo ""
echo "已设置的环境变量："
echo "- ALIYUN_APP_KEY: $ALIYUN_APP_KEY"
echo "- ALIYUN_ACCESS_KEY_ID: $ALIYUN_ACCESS_KEY_ID"
echo "- ALIYUN_ACCESS_KEY_SECRET: [已设置]"
echo "- DASHSCOPE_API_KEY: [已设置]"
echo ""
echo "现在可以运行 StoryAgent 了："
echo "python run.py -c configs/mm_story_agent_api_only.yaml"